home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.0 KB | 27 lines | [TEXT/GEOL] |
- Item 8281229 20-Feb-90 10:10PST
-
- From: SATORI Satori SW, Hugh Rogovy,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- cc: DAWSON.M Dawson, Mark
-
- Sub: RE: OpenNew(itsCmdNumber?);
-
- Mark,
-
- itsCmdNumber is passed into TApplication.OpenNew, then "filtered" through
- TApplication.KindOfDocument, and then passed onto TApplication.DoMakeDocument,
- where you will generally have a "CASE itsCmdNumber OF" statement to determine
- what type of "new" document to create if your application handles multiple
- document types. If the application was opened sans document (launching the App
- directly) then cFinderNew will be passed through to
- TApplication.DoMakeDocument, in which case you could create a "default" type of
- document or do nothing (or whatever is appropriate for your app).
-
- The reason passing in a "random #" didn't have any effect, is that you are
- ignoring itsCmdNumber in TApplication.DoMakeDocument.
-
- Chris Le Croy
-
-